package game.role;

import game.starts.Starts;

public abstract class Role {
    private String name;
    private int lv;
    public Starts starts;
    public Role(){

    }

    public Role(String name, int lv,int corporpore,int strength) {
        this.name = name;
        this.lv = lv;
        this.starts = new Starts(corporpore,strength);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    public Starts getStarts() {
        return starts;
    }

    public void setStarts(Starts starts) {
        this.starts = starts;
    }

    public int getLv() {
        return lv;
    }

    public void setLv(int lv) {
        this.lv = lv;
    }



    @Override
    public String toString() {
        return "name='" + name +"  lv=" + lv + '\n' +
                starts.toString() ;
    }
}
